package controller.result;

public class Code {
    public static final int SAVE_OK = 101;
    public static final int GET_OK = 111;

    public static final int SAVE_ERR = 100;
    public static final int GET_ERR = 110;

    public static final int USER_EXIST = 211;
    public static final int USER_NOT_EXIST = 210;

    public static final int PSWORD_WRONG = 220;

    public static final int LOGIN_SUCCESS = 221;
    public static final int REGISTER_SUCCESS = 231;

    public static final int GET_COMMENTS_SUCCESS = 301;
    public static final int GET_ALL_USERS_SUCCESS = 302;

}
